import java.util.Scanner;

public class InputData {
    public static void main (String args[]){
        Scanner reader=new Scanner(System.in);
        int amount =0 ;
        float price=0,sum=0;
        System.out.println("输入产品数量（回车确认）:");
        amount = reader.nextInt();
        System.out.println("输入产品价格（回车确认）:");
        price = reader.nextFloat();
        sum = price*amount;
        System.out.println("数量: "+amount+"单价: "+price+"总价格: "+sum);
    }
}
